package com.sdry.model.cb;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdry.utils.PageBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

    public class DepreciationEntity extends PageBean {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 项目
     */
    private String itemName;

    /**
     * 总额
     */
    private BigDecimal totalMoney;

    /**
     * 开始折旧日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDate;

    /**
     * 折旧月份
     */
    private Integer numberMon;

    /**
     * 到期日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date dueDate;

    /**
     * 累积折旧月份
     */
    private Integer accuMon;

    /**
     * 累积折旧金额
     */
    private BigDecimal accuMoney;

    /**
     * 余额
     */
    private BigDecimal balanceMoney;

    /**
     * 备用
     */
    private Integer parameter1;

    /**
     * 备用2
     */
    private String parameter2;


    private BigDecimal parameter3;

        public BigDecimal getParameter3() {
            return parameter3;
        }

        public void setParameter3(BigDecimal parameter3) {
            this.parameter3 = parameter3;
        }

        public String getParameter2() {
        return parameter2;
    }

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public BigDecimal getTotalMoney() {
            return totalMoney;
        }

        public void setTotalMoney(BigDecimal totalMoney) {
            this.totalMoney = totalMoney;
        }

        public Date getStartDate() {
            return startDate;
        }

        public void setStartDate(Date startDate) {
            this.startDate = startDate;
        }

        public Integer getNumberMon() {
            return numberMon;
        }

        public void setNumberMon(Integer numberMon) {
            this.numberMon = numberMon;
        }

        public Date getDueDate() {
            return dueDate;
        }

        public void setDueDate(Date dueDate) {
            this.dueDate = dueDate;
        }

        public Integer getAccuMon() {
            return accuMon;
        }

        public void setAccuMon(Integer accuMon) {
            this.accuMon = accuMon;
        }

        public BigDecimal getAccuMoney() {
            return accuMoney;
        }

        public void setAccuMoney(BigDecimal accuMoney) {
            this.accuMoney = accuMoney;
        }

        public BigDecimal getBalanceMoney() {
            return balanceMoney;
        }

        public void setBalanceMoney(BigDecimal balanceMoney) {
            this.balanceMoney = balanceMoney;
        }

        public Integer getParameter1() {
            return parameter1;
        }

        public void setParameter1(Integer parameter1) {
            this.parameter1 = parameter1;
        }

        public void setParameter2(String parameter2) {
            this.parameter2 = parameter2;
        }
    }
